package com.adou.multi.multi_tenancy.page;

public enum ErrorCode {
	SUCCESS(1000, "成功"),
	SELECT_ERROR(9999,"查詢異常");
	
	ErrorCode(int code, String msg){
		this.code = code;
		this.msg = msg;
	}
	
	private int code;
	private String msg;
	
	public int getCode(){
		return code;
	}
	
	public String getMsg(){
		return msg;
	}
}
